
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!----------中间部分------------>
<div class="main">
    <div class="main_title">
        <p> 当前位置：<a>技术成果 </a>》<a>提交订单</a></p>
    </div>
    <form action="/web/order/addOrder" method="post">
        <div class="main_goodsInfo">
            <p><span class="main_goodsInfo_num">1</span><span class="main_goodsInfo_title">确认订单信息</span></p>
            <div class="main_goodsInfo_table">
                <table>
                    <tr>
                        <td class="table_img table_title">图片</td>
                        <td class="table_goods table_title">商品</td>
                        <td class="table_price table_title">价格(元)</td>
                        <td class="table_amount table_title">数量</td>
                        <td class="table_fare table_title">优惠(元)</td>
                        <td class="table_total table_title">总计(元)</td>
                    </tr>
                    <tr>
                        <input type="text" name="id" value="${achievement.acheievementID}" class="sr-only">
                        <td class="table_img "><img style="height: 100%" src="${basePath}/${achievement.imgeurl}"></td>
                        <td class="table_goods theborder2 table_goods_info">
                            <p class="table_goods_info_title">${achievement.name}</p>
                            <p>${achievement.provideInfo}</p>
                            <p>联系人：<span>${achievement.contact}</span></p>
                        </td>
                        <td class="table_price theborder2 orange">￥<span id="up">${achievement.money}</span></td>
                        <td class="table_amount"><span id="substract"> < </span><input type="text" id="quantity" name="quantity" value="1"><span id="add"> > </span></td>
                        <td class="table_fare theborder1 orange">￥<span id="rb">${achievement.rebate}</span></td>
                        <td class="table_total theborder1 orange">￥<span id="totalMoney"></span></td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="main_addressInfo">
            <p><span class="main_goodsInfo_num">2</span><span class="main_goodsInfo_title">确认收货地址</span></p>
            <div class="main_addressInfo_table">
                <table>
                    <tr>
                        <td class="main_addressInfo_tltle">快速选择</td>
                        <td>
                            <c:forEach items="${logisticList}" var="lgc">
                                <p><input type="radio" name="logisticsID" value="${lgc.logisticsID}">
                                ${lgc.recipient}&nbsp;&nbsp;${lgc.phone}&nbsp;&nbsp;${lgc.address}&nbsp;&nbsp;${lgc.transport}</p>
                            </c:forEach>
                        </td>
                    </tr>
                    <tr>
                      <td class="newAddressBtn"><a>使用新地址</a></td>
                    </tr>
                </table>
                <div id="addressDiv" hidden="hidden">
                        <table>
                        <tr>
                            <td class="main_addressInfo_tltle">收货地址</td>
                            <td><input class="main_address_input" name="address" type="text"/></td>
                        </tr>
                        <tr>
                            <td class="main_addressInfo_tltle">邮政编码</td>
                            <td><input type="text" name="postCode"/></td>
                        </tr>
                        <tr>
                            <td class="main_addressInfo_tltle">真实姓名</td>
                            <td><input type="text" name="recipient"/></td>
                        </tr>
                        <tr>
                            <td class="main_addressInfo_tltle">手机号码</td>
                            <td><input type="text" name="phone"/></td>
                        </tr>
                        <tr>
                            <td class="main_addressInfo_tltle">期望物流</td>
                            <td>
                                <input type="text" name="transport"/>
                            </td>
                        </tr>
                        </table>
                </div>
            </div>
        </div>
        <p class="main_b"><input class="submitBtn" type="submit" value="提交订单"/></p>
        <p class="main_b"><span class="submitText">提交订单待卖家确认后，支付费用</span></p>
    </form>

</div>
